export const tableOption = {
  dialogDrag: false,
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  menuType: 'text',
  searchShow: false,
  excelBtn: true,
  printBtn: true,
  dialogWidth: 500,
  column: [
    {
      label: '套餐名称',
      prop: 'name',
      span: 24,
      rules: [{
        required: true,
        message: '套餐名称不能为空',
        trigger: 'blur'
      }]
    },
    {
      label: '充值金额',
      prop: 'money',
      sortable: true,
      span: 24,
      type: 'number',
      minRows: 1,
      rules: [{
        required: true,
        message: '充值金额不能为空',
        trigger: 'blur'
      }],
    },
    {
      label: '赠送金额',
      prop: 'giftMoney',
      sortable: true,
      span: 24,
      type: 'number',
      minRows: 0,
      rules: [{
        required: true,
        message: '赠送金额不能为空',
        trigger: 'blur'
      }],
    },
    {
      label: '排序',
      prop: 'sort',
      span: 24,
      sortable: true
    },
    {
      label: '创建时间',
      prop: 'createTime',
      sortable: true,
      type: 'datetime',
      format: 'yyyy-MM-dd HH:mm',
      valueFormat: 'yyyy-MM-dd HH:mm:ss',
      addDisplay: false,
      editDisplay: false,
      width: 150
    }
  ]
}
